package com.ztesoft.web.filecommon.db.dao.mapper;

import com.ztesoft.web.filecommon.db.arg.FileCheckViewArg;
import com.ztesoft.web.filecommon.db.po.FileCheckViewPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IFileCheckViewMapper {
    
    List<Integer> countByArg(FileCheckViewArg arg);

    List<FileCheckViewPO> selectByArg(FileCheckViewArg arg);

    FileCheckViewPO selectByPrimaryKey(Integer id);

    List<FileCheckViewPO> selectByArgAndPage(FileCheckViewArg arg, RowBounds rowBound);

    int insert(FileCheckViewPO record);

    int insertSelective(FileCheckViewPO record);

    int insertBatch(@Param("list") List<FileCheckViewPO> records);

    int updateByArgSelective(@Param("record") FileCheckViewPO record,
            @Param("arg") FileCheckViewArg arg);

    int updateByArg(@Param("record") FileCheckViewPO record,
            @Param("arg") FileCheckViewArg arg);

    int updateByPrimaryKeySelective(FileCheckViewPO record);

    int updateByPrimaryKey(FileCheckViewPO record);
    
    int deleteByArg(FileCheckViewArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}